import request from '../request.js'

// 获取歌单详情
export const getPlaylistDetailAPI = (id) => {
  return request({
    url:'/playlist/detail',
    data:{
      id
    }
  })
}

// 获取歌单全部歌曲
export const getPlaylistAllDataAPI = (id,limit,offset) => {
  return request({
    url:'/playlist/track/all',
    data:{
      id,
      limit,
      offset
    }
  })
}